package leetcode.code0128;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution128 implements IDebug {
	public abstract int longestConsecutive(int[] nums);

	@Override
	public void debug1() {
		int[] nums = HelpDebug.str2array3("[100,4,200,1,3,2]");
		int e = 4;
		int r = this.longestConsecutive(nums);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int[] nums = HelpDebug.str2array3("[0,3,7,2,5,8,4,6,0,1]");
		int e = 9;
		int r = this.longestConsecutive(nums);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
